/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Database;

import Domain.Apartment;
import java.util.ArrayList;

/**
 *
 * @author Min0
 */
public interface IFDBApartment {
    
    public void InsertApartment(Apartment appartment);
    public void InsertApartment(int ApartmentNo, String Description, String Available, float Price); //with stats
    public Apartment GetApartment(int apartmentNo);
    public ArrayList<Apartment> GetApartmentList();
    public void UpdateApartment(int ApartmentNo, String Description, String Available, float Price);
    public void UpdateApartmentDescription(int ApartmentNo, String Description);
    public void UpdateApartmentStatus(int ApartmentNo,String Available);
    public void UpdateApartmentPrice(int ApartmentNo, float Price);
    public void DeleteApartment(int apartmentNo);
    public int getMax(); //returns the number of records
}
